<template>
  <v-card
    flat
    elevation="0"
  >
    <v-tabs
      v-model="tab"
      centered
      color="lighten-3"
    >
      <!-- vertical -->
      <!-- <v-tabs-slider color="teal darken-3"></v-tabs-slider> -->

      <v-tab href="#tab-1">
        今日情况
      </v-tab>

      <v-tab href="#tab-2">
        统计数据
      </v-tab>
    </v-tabs>

    <v-tabs-items continous v-model="tab">
      <v-tab-item :value="'tab-' + 1" transition="scroll-x-transition" >
        <today></today>
      </v-tab-item>
      <v-tab-item :value="'tab-' + 2" transition="fade-transition" >
        <statistics></statistics>
      </v-tab-item>
    </v-tabs-items>
  </v-card>
</template>
<script>
import Today from "./maintab/Today"
import Statistics from "./maintab/Statistics"
export default {
    data() {
        return {
            "tab":"",
            "text":"goood"
        }
    },
    components:{Today, Statistics}
}
</script>

<style scoped>

</style>